/*
 * *****************************************************************************
 *  Copyright ( c ) 2019 huibur Inc. All Rights Reserved.
 *
 *  This software is the confidential and proprietary information of Huibur Inc
 *  (*Confidential Information*). You shall not disclose such Confidential Information
 *  and shall use it only in accordance with the terms of the license agreement
 *  you entered into with Huibur or a Huibur authorized
 *  reseller (the "License Agreement*).
 *  ******************************************************************************
 */

package com.huibur.devicecheck.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

/*******************************************************
* Title: UserPO.java
* Description:
* @author baiqingshuo
* @date 2021/9/17
* @version 1.0
*******************************************************/
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("user")
public class UserPO {

    /**
     * 主键id
     */
    @TableId(value = "admin_id",type = IdType.AUTO)
    private Long adminId;

    /**
     * 1:系统管理员 2:检验员 3:普通人员
     */
    @TableField("role")
    private Integer role;

    /**
     * 账户
     */
    @TableField("account")
    private String account;

    /**
     * 手机号
     */
    @TableField("mobile")
    private String mobile;

    /**
     * 密码
     */
    @TableField("password")
    private String password;

    /**
     * 名称
     */
    @TableField("name")
    private String name;

    @TableField("create_at")
    private Timestamp createAt;

    @TableField("create_by")
    private Long createBy;

    @TableField("update_at")
    private Timestamp updateAt;

    @TableField("update_by")
    private Long updateBy;

    /**
     * 1: 正常 2：删除  3：禁用
     */
    @TableField("status")
    private Integer status;
}

